

import structural.Constants;




public class DecisionTreeThread /*extends Thread */{
	PusherGame game;	
	boolean white;
	
	public DecisionTreeThread(PusherGame game, boolean white) {
		this.game = game;
		this.white = white;
	}

	
	/*public void run() {
		long time = System.currentTimeMillis();
		makeTree();
		System.out.println((System.currentTimeMillis() - time));
	}*/
	
	public void makeTree(){		
		long time = System.currentTimeMillis();
		game.generate(game.getGrid(),white,true,Constants.BASE_ALPHA, Constants.BASE_BETA,0);
		System.out.println((System.currentTimeMillis() - time));
	}

}
